<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.4"/>
<title>gbmath: gbmath::line3d Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo.jpg"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">gbmath
   &#160;<span id="projectnumber">v0.051</span>
   </div>
   <div id="projectbrief">c++ math library</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.4 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespacegbmath.html">gbmath</a></li><li class="navelem"><a class="el" href="classgbmath_1_1line3d.html">line3d</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="#friends">Friends</a> &#124;
<a href="classgbmath_1_1line3d-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">gbmath::line3d Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Line (Direct) in the three-dimensional space by two points.  
 <a href="classgbmath_1_1line3d.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="line3d_8h_source.html">line3d.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:aa5bed3ebc9fe87653e06c95a5fb8d8e4"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1line3d.html#aa5bed3ebc9fe87653e06c95a5fb8d8e4">line3d</a> ()</td></tr>
<tr class="separator:aa5bed3ebc9fe87653e06c95a5fb8d8e4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa66e5590f6ce882eb96f52b60e3110cd"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1line3d.html#aa66e5590f6ce882eb96f52b60e3110cd">line3d</a> (const <a class="el" href="classgbmath_1_1line3d.html">line3d</a> &amp;l)</td></tr>
<tr class="separator:aa66e5590f6ce882eb96f52b60e3110cd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a841dbcd7291169e81a1bbb9c466fc296"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1line3d.html#a841dbcd7291169e81a1bbb9c466fc296">line3d</a> (const <a class="el" href="structgbmath_1_1vec3.html">vec3</a> &amp;_src, const <a class="el" href="structgbmath_1_1vec3.html">vec3</a> &amp;_dest)</td></tr>
<tr class="separator:a841dbcd7291169e81a1bbb9c466fc296"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5d77fd63022e21989b208d339dd89b84"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structgbmath_1_1vec3.html">vec3</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1line3d.html#a5d77fd63022e21989b208d339dd89b84">direction</a> () const </td></tr>
<tr class="memdesc:a5d77fd63022e21989b208d339dd89b84"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get used to the direction src -&gt; dest.  <a href="#a5d77fd63022e21989b208d339dd89b84">More...</a><br/></td></tr>
<tr class="separator:a5d77fd63022e21989b208d339dd89b84"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a55830474daf11af2bafce7eb2f72e7e6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1line3d.html#a55830474daf11af2bafce7eb2f72e7e6">operator+=</a> (const <a class="el" href="structgbmath_1_1vec3.html">vec3</a> &amp;v)</td></tr>
<tr class="separator:a55830474daf11af2bafce7eb2f72e7e6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aebce33c6f1cbff29b3422cab9122d5f8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1line3d.html#aebce33c6f1cbff29b3422cab9122d5f8">operator-=</a> (const <a class="el" href="structgbmath_1_1vec3.html">vec3</a> &amp;v)</td></tr>
<tr class="separator:aebce33c6f1cbff29b3422cab9122d5f8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7fd7a9322b3e53259b2c1bcdf3a039f5"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1line3d.html#a7fd7a9322b3e53259b2c1bcdf3a039f5">operator std::string</a> () const </td></tr>
<tr class="separator:a7fd7a9322b3e53259b2c1bcdf3a039f5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ace60e880519ca4e1e32e95780de9ad41"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1line3d.html#ace60e880519ca4e1e32e95780de9ad41">operator=</a> (const std::string &amp;str)  throw (std::runtime_error)</td></tr>
<tr class="separator:ace60e880519ca4e1e32e95780de9ad41"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:af0cf8eba19db43549d92cf08ee3b9fab"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structgbmath_1_1vec3.html">vec3</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1line3d.html#af0cf8eba19db43549d92cf08ee3b9fab">src</a></td></tr>
<tr class="separator:af0cf8eba19db43549d92cf08ee3b9fab"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aedbfac4f8556e3d2c9f1848df890d4da"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structgbmath_1_1vec3.html">vec3</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1line3d.html#aedbfac4f8556e3d2c9f1848df890d4da">dest</a></td></tr>
<tr class="separator:aedbfac4f8556e3d2c9f1848df890d4da"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a>
Friends</h2></td></tr>
<tr class="memitem:aa0c99f4412067923dc1652d360424cbf"><td class="memItemLeft" align="right" valign="top">std::ostream &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgbmath_1_1line3d.html#aa0c99f4412067923dc1652d360424cbf">operator&lt;&lt;</a> (std::ostream &amp;os, const <a class="el" href="classgbmath_1_1line3d.html">line3d</a> &amp;a)</td></tr>
<tr class="separator:aa0c99f4412067923dc1652d360424cbf"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Line (Direct) in the three-dimensional space by two points. </p>

<p>Definition at line <a class="el" href="line3d_8h_source.html#l00019">19</a> of file <a class="el" href="line3d_8h_source.html">line3d.h</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="aa5bed3ebc9fe87653e06c95a5fb8d8e4"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">gbmath::line3d::line3d </td>
          <td>(</td>
          <td class="paramname">)</td><td></td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="line3d_8h_source.html#l00025">25</a> of file <a class="el" href="line3d_8h_source.html">line3d.h</a>.</p>

</div>
</div>
<a class="anchor" id="aa66e5590f6ce882eb96f52b60e3110cd"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">gbmath::line3d::line3d </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classgbmath_1_1line3d.html">line3d</a> &amp;&#160;</td>
          <td class="paramname"><em>l</em>)</td><td></td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="line3d_8h_source.html#l00027">27</a> of file <a class="el" href="line3d_8h_source.html">line3d.h</a>.</p>

</div>
</div>
<a class="anchor" id="a841dbcd7291169e81a1bbb9c466fc296"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">gbmath::line3d::line3d </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structgbmath_1_1vec3.html">vec3</a> &amp;&#160;</td>
          <td class="paramname"><em>_src</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="structgbmath_1_1vec3.html">vec3</a> &amp;&#160;</td>
          <td class="paramname"><em>_dest</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="line3d_8h_source.html#l00033">33</a> of file <a class="el" href="line3d_8h_source.html">line3d.h</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a5d77fd63022e21989b208d339dd89b84"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structgbmath_1_1vec3.html">vec3</a> gbmath::line3d::direction </td>
          <td>(</td>
          <td class="paramname">)</td><td></td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Get used to the direction src -&gt; dest. </p>

<p>Definition at line <a class="el" href="line3d_8h_source.html#l00040">40</a> of file <a class="el" href="line3d_8h_source.html">line3d.h</a>.</p>

</div>
</div>
<a class="anchor" id="a7fd7a9322b3e53259b2c1bcdf3a039f5"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">gbmath::line3d::operator std::string </td>
          <td>(</td>
          <td class="paramname">)</td><td></td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="line3d_8h_source.html#l00070">70</a> of file <a class="el" href="line3d_8h_source.html">line3d.h</a>.</p>

</div>
</div>
<a class="anchor" id="a55830474daf11af2bafce7eb2f72e7e6"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void gbmath::line3d::operator+= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structgbmath_1_1vec3.html">vec3</a> &amp;&#160;</td>
          <td class="paramname"><em>v</em>)</td><td></td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="line3d_8h_source.html#l00058">58</a> of file <a class="el" href="line3d_8h_source.html">line3d.h</a>.</p>

</div>
</div>
<a class="anchor" id="aebce33c6f1cbff29b3422cab9122d5f8"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void gbmath::line3d::operator-= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structgbmath_1_1vec3.html">vec3</a> &amp;&#160;</td>
          <td class="paramname"><em>v</em>)</td><td></td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="line3d_8h_source.html#l00064">64</a> of file <a class="el" href="line3d_8h_source.html">line3d.h</a>.</p>

</div>
</div>
<a class="anchor" id="ace60e880519ca4e1e32e95780de9ad41"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void gbmath::line3d::operator= </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>str</em>)</td><td></td>
          <td></td>
        </tr>
        <tr>
          <td align="right">throw </td><td>(</td><td colspan="2">std::runtime_error</td>
        </tr>
        <tr>
          <td align="right"></td><td>)</td><td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="line3d_8h_source.html#l00079">79</a> of file <a class="el" href="line3d_8h_source.html">line3d.h</a>.</p>

</div>
</div>
<h2 class="groupheader">Friends And Related Function Documentation</h2>
<a class="anchor" id="aa0c99f4412067923dc1652d360424cbf"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::ostream&amp; operator&lt;&lt; </td>
          <td>(</td>
          <td class="paramtype">std::ostream &amp;&#160;</td>
          <td class="paramname"><em>os</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classgbmath_1_1line3d.html">line3d</a> &amp;&#160;</td>
          <td class="paramname"><em>a</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">friend</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="line3d_8h_source.html#l00092">92</a> of file <a class="el" href="line3d_8h_source.html">line3d.h</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a class="anchor" id="aedbfac4f8556e3d2c9f1848df890d4da"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structgbmath_1_1vec3.html">vec3</a> gbmath::line3d::dest</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="line3d_8h_source.html#l00023">23</a> of file <a class="el" href="line3d_8h_source.html">line3d.h</a>.</p>

</div>
</div>
<a class="anchor" id="af0cf8eba19db43549d92cf08ee3b9fab"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structgbmath_1_1vec3.html">vec3</a> gbmath::line3d::src</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="line3d_8h_source.html#l00022">22</a> of file <a class="el" href="line3d_8h_source.html">line3d.h</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="line3d_8h_source.html">line3d.h</a></li>
</ul>
</div><!-- contents -->
<hr class="footer"/>
<!--address class="footer"-->
<!--small-->
<br>
&nbsp;&nbsp;&nbsp;<b>Project page:</b> &nbsp;<a target="_blank" href="https://code.google.com/p/gbmath/">https://code.google.com/p/gbmath/</a>&nbsp;&nbsp;<br>
&nbsp;&nbsp;&nbsp;<b>Doc page:</b> &nbsp;<a target="_blank" href="http://www.it.ks777.ru/docs">http://www.it.ks777.ru/docs</a>&nbsp;&nbsp;<br>
<br>
Generated on Sat Jul 27 2013 08:09:04 for gbmath by &#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.4
